package com.qf.exceptions;

public class MyBaseException extends RuntimeException{
    private int code;//状态码

    public MyBaseException(String message,int code){
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
